
//--------------------------------------------------------------------
//     此代码由T4模板自动生成
//	   生成时间 2021-10-24 11:00:32 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using SqlSugar;
using System;
namespace TianYu.CMS.Domain.DomainModel
{
    ///<summary>
    ///广告
    ///</summary>
    [SugarTable("adv")]
    public class Adv 
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// 广告描述
        /// </summary>
        [SugarColumn(ColumnName = "adv_desc", IsNullable = false)]
        public string AdvDesc { get; set; }

        /// <summary>
        /// 广告名称
        /// </summary>
        [SugarColumn(ColumnName = "adv_name")]
        public string AdvName { get; set; }

        /// <summary>
        /// 广告位ID
        /// </summary>
        [SugarColumn(ColumnName = "adv_position_id")]
        public long AdvPositionId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "create_time", IsNullable = false)]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [SugarColumn(ColumnName = "end_time", IsNullable = false)]
        public DateTime? EndTime { get; set; } 

        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(ColumnName = "is_del")]
        public bool IsDel { get; set; }

        /// <summary>
        /// 跳转Url
        /// </summary>
        [SugarColumn(ColumnName = "jmp_url", IsNullable = false)]
        public string JmpUrl { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [SugarColumn(ColumnName = "start_time", IsNullable = false)]
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 广告图片
        /// </summary>
        [SugarColumn(ColumnName = "adv_img", IsNullable = false)]
        public string AdvImg { get; set; }

    }
}
